-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install pip dependencies during the build #6534
Conversation
I guess the target branch should be |
b312dcc
to
3d0393b
Compare
3d0393b
to
1a90612
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@@ -19,6 +19,9 @@ rm -rf build/debian/tribler/usr/share/tribler | |||
|
|||
python3 build/update_version_from_git.py | |||
|
|||
# ----- Install pip dependencies before the build | |||
python3 -m pip install --upgrade -r src/requirements.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue: we should stop the build procedure in case of pip install
error.
The possible, but not tested solution:
python3 -m pip install --upgrade -r src/requirements.txt | |
python3 -m pip install --upgrade -r src/requirements.txt || exit 1 |
@@ -13,6 +13,9 @@ export RESOURCES=build/mac/resources | |||
/bin/rm -rf dist | |||
|
|||
# ----- Build | |||
# ----- Install pip dependencies before the build | |||
python3 -m pip install --upgrade -r src/requirements.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue: we should stop the build procedure in case of pip install
error.
The possible, but not tested solution:
python3 -m pip install --upgrade -r src/requirements.txt | |
python3 -m pip install --upgrade -r src/requirements.txt || exit 1 |
@@ -42,6 +42,9 @@ call build\win\clean.bat | |||
|
|||
REM ----- Build | |||
|
|||
REM ----- Install pip dependencies before the build | |||
python3 -m pip install --upgrade -r src\requirements.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue: we should stop the build procedure in case of pip instal
l error.
The possible, but not tested solution:
python3 -m pip install --upgrade -r src\requirements.txt | |
python3 -m pip install --upgrade -r src\requirements.txt || EXIT /B 1 |
Fixes #6518